using System;
using System.Collections.Generic;
using System.Text;
using Newtonsoft.Json;
using SqlSugar;

namespace NP.BPMReportPlatform.Entities.BPM_Business
{
    /// <summary>
    /// ilearning课程信息表
    /// </summary>
    [SugarTable("ILearningTrain")]
    public class ILearningTrainEntity
    {
        /// <summary>
        /// 培训项目ID
        /// </summary>

        [SugarColumn(ColumnName = "TrainId", IsPrimaryKey = true)]
        public int TrainId { get; set; }

        /// <summary>
        /// 培训项目名称
        /// </summary>
        public string TrainName { get; set; }

        /// <summary>
        /// 介绍
        /// </summary>
        public string Intro { get; set; }

        /// <summary>
        /// 培训项目分类ID
        /// </summary>
        public int CategoryId { get; set; }

        /// <summary>
        /// 图像链接
        /// </summary>
        public string Image { get; set; }

        /// <summary>
        /// 培训项目分类名称
        /// </summary>
        public string CategoryName { get; set; }

        /// <summary>
        /// 关联的培训项目证书ID
        /// </summary>
        public string CertificateId { get; set; }

        /// <summary>
        /// 关联的培训项目证书名称
        /// </summary>
        public string CertificateName { get; set; }

        /// <summary>
        /// 学习类型
        /// order = 顺序学习 , disorder = 无序学习
        /// </summary>
        public string StudyType { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime? StartTime { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime? EndTime { get; set; }

        /// <summary>
        /// 培训项目时长（分钟）
        /// </summary>
        public int Duration { get; set; }

        /// <summary>
        /// 积分奖励
        /// </summary>
        public int Points { get; set; }

        /// <summary>
        /// 学分
        /// </summary>
        public string Credit { get; set; }

        /// <summary>
        /// 显示模式
        /// list=列表模式 ， map=地图模式
        /// </summary>
        public string DisplayMode { get; set; }

        /// <summary>
        /// 培训项目内容阶段模式
        /// default=默认/即无阶段 ， multi=多阶段
        /// </summary>
        public string PhaseType { get; set; }

        /// <summary>
        /// 关联的调查问卷ID
        /// </summary>
        public string QuestionnaireId { get; set; }

        /// <summary>
        /// 关联的调查问卷名称
        /// </summary>
        public string QuestionnaireName { get; set; }

        /// <summary>
        /// 创建者
        /// </summary>
        public string Creator { get; set; }

        /// <summary>
        /// 创建者姓名
        /// </summary>
        public string CreatorName { get; set; }

        /// <summary>
        /// 是否归档
        /// Y = 已归档 ， N = 未归档
        /// </summary>
        public string Archive { get; set; }

        /// <summary>
        /// H5访问链接
        /// </summary>
        public string H5Url { get; set; }

        /// <summary>
        /// PC访问链接
        /// </summary>
        public string PcUrl { get; set; }
    }
}
